package com.schoolcloud.social.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.schoolcloud.api.client.front.FrontUserClient;
import com.schoolcloud.social.entity.UserForumProfiles;
import com.schoolcloud.social.query.UserForumQuery;
import com.schoolcloud.social.service.UserForumProfilesService;
import com.schoolcloud.social.mapper.UserForumProfilesMapper;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
* @author hongmizfb
* @description 针对表【user_forum_profiles(贴吧用户扩展表)】的数据库操作Service实现
* @createDate 2025-08-02 12:39:22
*/
@Service
@RequiredArgsConstructor
public class UserForumProfilesServiceImpl extends ServiceImpl<UserForumProfilesMapper, UserForumProfiles>
    implements UserForumProfilesService{

    @Override
    public UserForumProfiles getByUserId(Integer userToInteger) {
        return lambdaQuery().eq(UserForumProfiles::getUserId, userToInteger).one();
    }
}




